package com.tiny.pong;

import com.tiny.core.game.states.StateBasedGame;

public class Main extends StateBasedGame {

    public static final int MENU = 0;
    public static final int GAME = 1;

    @Override
    public void init() {
        addState(MENU, new Menu());
        addState(GAME, new Game());
        enterState(MENU);
    }

    @Override
    public String getTitle() {
        return "Tiny Pong";
    }

    public static void main(String[] args) {
        new Main().run();
    }
}
